header {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    /* border-top: 1px solid #080808;
    border-bottom: 1px solid #111111; */
    gap: 15px;
    background-color: rgb(19, 18, 18);
    padding: 1PX;
    padding-left: 5px;
    padding-right: 10px;
    width: 100%;
    margin-bottom: 10px;

}

.header-logo img {
    width: 250px;
    height: 50px;

}

.header-search {
    flex-grow: 1;
    display: flex;
    background-color: #F8F8F8;
    border-radius: 7px;

}

.header-search button {
    padding: 15px;
    border: none;
    background-color: transparent;
}

.header-search input {
    flex-grow: 1;
    border: none;
    background-color: transparent;
}

.header-search input:focus {
    outline: none;
}

.header-social-link h4 {
    color: #F8F8F8;
    padding-bottom: 3px;
}

.header-social-icons {
    display: flex;
    gap: 10px;
    padding-bottom: 1px;
    /* Add spacing between icons */
}

/* Style the individual social icons */
.header-social-icons img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s;
    /* Smooth scaling effect */
}

.header-social-icons img:hover {
    transform: scale(1.2);
    /* Increase size slightly on hover */
}

/* User Login Section*/

/* User Icon */
.user-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-icon img {
    width: 40px;
    height: 40px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 60px;
    right: 10px;
    /* Move to right */
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 180px;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-menu a {
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
    display: block;
    transition: background 0.3s;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f0f0f0;
}

/* ////////////////This is for pop up for sign in and sign up ///////////////////// */
/* Popup Background */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

/* Popup Box */
.popup-box {
    background: rgb(207, 207, 207);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 370px;
    text-align: center;
    position: relative;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #000000;
}

/* Form Styles */
.popup-box h2 {
    margin-bottom: 8px;
    color: #333;
}

.input-box {
    position: relative;
    width: 100%;
    margin: 10px 0;
    outline: #0b127c;
}

.input-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #7b7b7b;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.input-box span {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 3px;
    text-justify: inter-word;
}

.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    margin-bottom: 6px;
}

.btn:hover {
    background-color: #0056b3;
}

.switch-link {
    margin-top: 5px;
    font-size: 14px;
    
}

.switch-link a {
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
}

.switch-link a:hover {
    text-decoration: underline;
}


/* /////////////////This section is for notification//////////////////// */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #d4edda;
    /* Green for success */
    color: #155724;
    padding: 12px 18px;
    border-radius: 8px;
    border: 2px solid #155724;
    font-size: 16px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-out;
}

.notification.error {
    background-color: #f8d7da;
    /* Red for error */
    color: #721c24;
    border-color: #721c24;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}


 
/* ✅ Error Message Styling */
.error-message {
    color: red; 
    margin-top: 2px;
    padding-left: 6px;
    font-size: small;
    text-align: center; /* ✅ Centers the text horizontally */
    display: block;
}
.error-message a {
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
}

/* ✅ Disabled Submit Button Styling */
#signup-submit-btn:disabled {
    background-color: gray;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ///////////////This is for sidebar pannel///////////////// */
/* Header Styling */
.mobile-header {
    display: flex;
    align-items: center;
    background-color: black;
    padding: 12px;
}

.toggle-btn {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
}

.mobile-logo {
    height: 40px;
    margin-left: 15px;
}

/* Sidebar Styling */
/* Sidebar Styling - Responsive */
.sidebar {
    position: fixed;
    top: 0;
    left: -20%;
    /* Initially hidden */
    width: 20%;
    /* Default for Desktop */
    height: 100vh;
    background-color: #1a1a1a;
    color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    padding-top: 20px;
}

/* Show Sidebar */
.sidebar.active {
    left: 0;
}

/* Sidebar scrollbar */
.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #0a0a0a;
    font-size: 22px;
    cursor: pointer;
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar Menu Links */
.sidebar-menu a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 16px;
    padding: 10px;
    transition: background 0.3s ease;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu */
.dropdown {
    display: none;
    list-style: none;
    padding-left: 15px;
}

.dropdown a {
    font-size: 14px;
    padding: 8px 0;
    display: block;
    color: #bbb;
    transition: color 0.3s;
}

.dropdown a:hover {
    color: white;
}



/* ///////////////   Mobile Screen View ////////////////   */
@media screen and (max-width: 768px) {

    /* Hide Everything Except Logo & User Icon */
    .header-search,
    .header-social-link {
        display: none;
    }

    /* Adjust Logo & User Icon */
    .header {

        justify-content: space-between;
        padding: 10px 15px;

    }

    .header-logo img {
        width: 130px;
        /* Adjust logo size for mobile */
        height: 30px;
    }

    .user-icon {
        width: 50px;
        height: 50px;
    }

    

    /* //////This is for sidebar//////// */
    .sidebar {
        width: 50%;
        left: -50%;
    }


}